#!/usr/bin/env python
import os
import sys
import enronMain
'''
mailDir		= '/disk01/naresh/LifeParser/Data/Enron_DataStore/'


def createInputFile():
	userList	= os.path.join(mailDir, 'enronUsers')
	dirs		= os.listdir(mailDir)
	fileP		= open(userList, 'w')

	for dir in dirs:
		fileP.write(dir + '\n')
	
	fileP.close()
'''

if __name__ == '__main__':
    for line in sys.stdin:
        line    = line.strip()
        enronMain.handleWebRequest(line)
